/*
    SUSAN® - Sole of Unix Save ANything

   
   Copyright (C) 2011-2016 Skyatlas Co. LTD
   

   
*/
#ifndef BAREOS_SRC_DIRD_CHECK_CATALOG_H_
#define BAREOS_SRC_DIRD_CHECK_CATALOG_H_

namespace directordaemon {

typedef enum
{
  CHECK_CONNECTION, /* Check catalog connection */
  UPDATE_CATALOG,   /* Ensure that catalog is ok with conf */
  UPDATE_AND_FIX    /* Ensure that catalog is ok, and fix old jobs */
} cat_op;

bool CheckCatalog(cat_op mode);

}  // namespace directordaemon

#endif  // BAREOS_SRC_DIRD_CHECK_CATALOG_H_
